package com.example.demodb.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Lisa
 * @date 2019/7/8 0008 11:15
 */
@Data
@TableName("u_user")
public class User extends Model<User> implements Serializable {
//    private Integer id;
    @TableField(value = "u_name")
    private String name;
    @TableField(value = "u_sex")
    private String sex;
}
